package com.bluemsun.naturallanguageprocessing.service;

import com.bluemsun.naturallanguageprocessing.common.ServerResponse;
import com.bluemsun.naturallanguageprocessing.entity.Favorites;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;
import java.util.Set;

public interface ICollectService {
    // 用户查询收藏
    ServerResponse<List<Favorites>> queryUserCollection(Integer userId);
    // 用户进行收藏
    ServerResponse<Object> userDoCollect(Integer userId, Set<Integer> favoriteId, Integer questionId);
    // 用户查询收藏夹
    ServerResponse<Object> queryUserFavorites(Integer userId,Integer questionId);
    // 用户修改文件夹名称
    ServerResponse<Object> modifyName(Integer userId, Integer favoriteId, String newName);
    // 用户删除收藏夹
    ServerResponse<Object> deleteFavorite(Integer userId,Integer favoriteId);
    // 用户创建收藏夹
    ServerResponse<Object> createFavorite(Integer userId,String favoriteName);
    // 用户批量取消收藏
    ServerResponse<Object> cancelCollected(Integer userId,Integer favoriteId,Set<Integer> questionIds);

}
